package cn.guetzjb.sys.domain;


import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 *
 * @TableName sys_config
 */
@TableName("sys_config")
@Data
@AllArgsConstructor
@NotNull
public class SysConfig implements Serializable {

    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer configId;
    /**
     * 暗夜模式
     */
    private String darkMode;
    /**
     * 动态标题
     */
    private String dyTitleMode;
    /**
     * 展示LOGO
     */
    private String logoMode;
    /**
     * 主题色
     */
    @Size(max = 10, message = "编码长度不能超过10")
    @Length(max = 10, message = "编码长度不能超过10")
    private String themeColor;
    /**
     *
     */
    private Long userId;
}
